#include <string>

#include "titleNode.h"

#pragma once


class table {
//-----------------------Mem-Var-------------------------
public:
  std::string tableName;
  titleNode* tabletitle;
  bool isFull[defaultLength] = {0};
  int rowNumber;
  int columnNumber;


//-----------------------Mem-func-------------------------
public:
  // Init from command.
  table(titleNode* title, std::string name);

  // Init from file.
  table(std::string address);

  void tableSave();

  void tableRead(std::string address);

};